package xin.codedream.codelog.model.enums;

/**
 * 是否允许评论
 *
 * @author NGLSL
 * @date 2018/8/11
 */
public enum AllowCommentEnum {
    /**
     * 是否允许评论
     */
    ALLOW(0, "允许"),
    NOT_ALLOWED(1, "不允许");

    private String message;
    private Integer value;
    AllowCommentEnum(Integer value, String message) {
        this.value = value;
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public Integer getValue() {
        return value;
    }
}
